<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>


<div class="navbar-inner">
	<div class="container">
		<!-- 当屏幕很窄时，用于折叠菜单，以便上下展示  -->
		<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
		</a>
		<a class="brand" href="#" style="float:left">掘金</a>
		<div class="nav-collapse">
			<ul class="nav">
				<li class="active">
					<a href="${ctx}/">首页</a>
				</li>
				<li>
					<a href="${ctx}/wb/spread">传播路线</a>
				</li>
				<li>
					<a href="${ctx}/wb/hotrtt">热转排行</a>
				</li>
				<li>
					<a href="${ctx}/wb/content">事态脉络</a>
				</li>
				<li class="dropdown">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown">事件分析<b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a href="#">Action</a></li>
						<li><a href="#">Another action</a></li>
						<li><a href="#">Something else here</a></li>
						<li class="divider"></li>
						<li class="nav-header">Nav header</li>
						<li><a href="#">Separated link</a></li>
						<li><a href="#">One more separated link</a></li>
					</ul>
				</li>
			</ul>
		</div>
		<form class="navbar-search pull-left offset3" action="">
			<div class="input-append">
				<input type="text" class="span2 search-query" placeholder="请检索...">
			</div>
		</form>
		<ul class="nav pull-right">
			<li><a href="#">宝利</a></li>
			<!-- 
			<li class="divider-vertical"></li>
			 -->
			<li class="dropdown">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown">设置 <b class="caret"></b></a>
				<ul class="dropdown-menu">
					<li><a href="#">Action</a></li>
					<li><a href="#">Another action</a></li>
					<li><a href="#">Something else here</a></li>
					<li class="divider"></li>
					<li><a href="#">Separated link</a></li>
				</ul>
			</li>
		</ul>
		<shiro:user>
			<span class="right">你好, <shiro:principal property="name"/> </span>
		</shiro:user>
	</div>
</div>
